<div xmlns="http://www.w3.org/1999/xhtml" lang="en"
	 xmlns:f="http://typo3.org/ns/fluid/ViewHelpers"
	 xmlns:mf="http://typo3.org/ns/MiniFranske/FsMediaGallery/ViewHelpers">
	
	<f:section name="Thumb">
	<!-- 首页相册展示2 -->
		<f:link.action pageUid="{settings.detail.pageUid}" target="_bank" controller="MediaAlbum" arguments="{mediaAlbum: mediaAlbum}">	
			<f:if condition="{random}">
				<f:then>
					<f:render partial="MediaAsset/Detail" section="Detail" arguments="{alt:mediaAlbum.title,title:mediaAlbum.title,mediaAsset:mediaAlbum.randomAsset,width:width,height:height,resizeMode:resizeMode}" />
				</f:then>
				<f:else>
					<f:render partial="MediaAsset/Detail" section="Detail" arguments="{alt:mediaAlbum.title,title:mediaAlbum.title,mediaAsset:mediaAlbum.mainAsset,width:width,height:height,resizeMode:resizeMode}" />
				</f:else>
			</f:if>
			<span class="thumb-hover">{mediaAlbum.title}</span>
		</f:link.action>
       	
	</f:section>

</div>